package com.zhang.brand.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhang.brand.entity.Brand;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 品牌表 服务类
 * </p>
 *
 * @author 创世神
 * @since 2023-08-27
 */
public interface IBrandService extends IService<Brand> {

    Page<Brand> getToPage(Integer pageNum, Integer pageSize);

    List<Brand> getByCategoryId(String categoryId);
}
